pp108 : setTooltip Method

setTooltip Method


This method sets the tooltip for the tab.

Syntax

tabID.setTooltip(sTooltip)

Parameters

Parameter

Description

sTooltip

Required. String that specifies the tooltip for the tab.


Return Value


No return value.

Remarks


This method should be accessed through the tab that is created.

The tooltip set for the tab will be on the tooltip and header of the tab.

Example


The following example shows how setTooltip() is used to set the tooltip for a tab that is created.

//testTab is the ID of the tab component
var tab = testTab.getTab("myTab");
//Set tooltip
tab.setTooltip("My Tab");

See Also


tabs